package org.jeecg.common.system.vo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author lixingxing
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class FileInfo {

    private String id;

    private String url;

    /**
     * 文件名
     */
    private String fileName;

    /**
     * 文件路径
     */
    private String filePath;

    /**
     * 用户上传时的名字
     */
    private String fileRealName;

    /**
     * 文件后缀
     */
    private String fileLastName;

    private Long fileSize;

    private Integer fileType;

    /**
     * 下载次数
     */
    private Integer downloadCount;

    public FileInfo() {
    }

    public FileInfo(String filePath, String fileRealName) {
        this.id = id;
        this.filePath = filePath;
        this.fileRealName = fileRealName;
    }
}
